"use strict";

var http = require('http');
var sapnwrfc = require('./com/swancor/module/sapnwrfc');

var connectionParams = {
  ashost: "192.168.1.105",
  sysid: "DEV",
  sysnr: "00",
  user: "it02",
  passwd: "a963852741",
  client: "300"
};

var funcParams = {
  QUESTION: 'How are you'
}

var con = new sapnwrfc.Connection;
con.Open(connectionParams, function(err) {
          if (err) {
	        console.log(err.message);
            return;
          }
          console.log('con.GetVersion() ' + con.GetVersion());
});